//
//  NQRecord.h
//  ZLFastDoctor
//
//  Created by 李岚清 on 16/5/25.
//  Copyright © 2016年 LS. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NQRecord : NSObject <NSCoding>

/**
 *  疾病类型
 */
@property (nonatomic, copy) NSString *sickType;
/**
 *  疾病细分
 */
@property (nonatomic, copy) NSString *sickDetail;
/**
 *  疾病描述标签
 */
@property (nonatomic, strong) NSArray *sickDesTags;
/**
 *  疾病描述
 */
@property (nonatomic, copy) NSString *sickDescribe;
/**
 *  病例图片数据源数组
 */
@property (nonatomic, strong) NSMutableArray *picArr;
/**
 *  病例的第一张图片
 */
@property (nonatomic, strong) UIImage *firstImage;
/**
 *  提交病例的当前时间
 */
@property (nonatomic, copy) NSString  *postTime;


//创建模型类方法
+ (NQRecord *)recordWithsickType:(NSString *)sickType sickDetail:(NSString *)sickDetail
                     sickDesTags:(NSArray *)sickDesTags sickDescribe:(NSString *)sickDescribe picArr:(NSMutableArray *)picArr firstImage:(UIImage *)firstImage postTime:(NSString *)postTime;

#pragma mark - 归档/解档
//读
+ (NSArray <NQRecord *>*)readRecordArr;
//写
+ (void)saveRecordArr:(NSArray <NQRecord *>*)array;

@end
